July 17 2016, 21:55

New post on my blog.

I managed to set up a little shop on my laptop with 2 million real products, divided into 15,000 categories. The products have attributes which can be filtered by – totaling about 6000 attributes. All this runs faster than ever on my laptop. I could have loaded more – but I didn’t find databases with larger volumes of products.

So, it can be said that on Hybris, it’s indeed possible to create a marketplace with an insanely large number of products, categories, and facets. And I understand how.

However, standard Hybris cannot manage such volumes at all. With a doubling of the product database, various processes like indexing start to operate, roughly speaking, three times slower. Therefore, the architecture in my solution uses a somewhat different approach. In a nutshell, all products are stored directly in SOLR, not in an Oracle or MySQL database. Product pages, product lists, searching – all this interacts directly with SOLR. The link explains how all this coexists with the shopping cart and checkout. @[100001168004708:2048:Erik Babadzhanov] recently asked about how to do this – here’s the answer 🙂

The full loading of products “from an empty database” to a fully functional site takes 25 minutes. Much less time is required for updating the data – for example, the prices for all 2 million products.

Unlike out-of-the-box Hybris, the number of active facets (filters) does not cause any “slowdown” in any processes. Currently, 6000 facets are set up in the demo, and the only barrier to their use is user interface restrictions.

On the link – a proof-of-concept video and technical details.

Tagging @[100001168004708:2048:Erik Babadzhanov] @[100001044160267:2048:Aleksey Kryuchkov] @[100004031421822:2048:Alexey Lyubimov] @[1817791335:2048:Victor Romanovsky] @[100000077047562:2048:Marina Zhigalova] @[100001894770015:2048:Viktoriya Shaimardanova] @[100001735299023:2048:Alexey Pronin] @[1698960808:2048:Alexander Zolotilin] @[100000571996239:2048:Maxim Antonov] @[100002859265802:2048:Ilya Timchenko] @[1328575098:2048:Max Shelukhanov] @[617283947:2048:Renata Mussina] @[1509384824:2048:Anatoly Mokhov] – this might interest you.

July 16 2016, 22:10

Bought a knife. The sticker honestly states that it contains chemicals known in the state of California to cause cancer, genetic disorders, and reproductive system diseases. Just like on cigarettes. Somehow, I got used to the fact that everything else usually has opposite disclaimers.

If I move to California, I must remember to leave the knife here.

Here is the list of these chemicals: http://oehha.ca.gov/proposition-65/proposition-65-list

July 11 2016, 22:31

On my way home, I saw fireflies for the first time in my life. In the darkest part of the road, they seemed like an extension of the starry sky. White lights appeared and vanished, some moving from place to place on complex trajectories. A mesmerizing spectacle.

That is, until one of these centimeter-sized beetles lands on your face in the dark.

Two species of fireflies live in Virginia – Photinus pyralis (or the common eastern firefly) and Photuris http://animals.mom.me/fireflies-native-virginia-8288.html

The communication of fireflies through light signals is so filled with deception that one could say deception is “a way of life” for them. The light signals of fireflies serve as a means of intersexual communication. For example, a Photinus pyralis male uses a half-second flash every 6 seconds, zigzagging downward through the bushes or grass where a female might be sitting. In response, the female waits 2 seconds after the male’s flash and then emits her own half-second flash. This sequence can be repeated a dozen or more times before the male finally approaches the female and climbs onto her. However, since the female begins laying eggs immediately after mating, it leads to a surplus of males.

This surplus of males benefits another species of firefly — Photuris. Females of this species mimic the response signals of Photinus pyralis females to attract and eat these males. There is another deceptive trick: Photuris males, if they fly slowly, can mimic the signals of Photinus males to attract females for mating. And sometimes their imitation may mimic an imitation.

One thing remains unclear, do Photuris pyralis females eat their own males or just the competitors? Does anyone know?

There’s a good video about this on TED.com: https://www.ted.com/talks/sara_lewis_the_loves_and_lies_of_fireflies

I tried to take a video, but I’ve just realized it’s no good. You’re better off watching this one https://youtu.be/pR0b2_rg4U8?t=102

July 11 2016, 22:01

Today I dreamt a long dream about life and then, suddenly, the theme changed. I stepped out of the office, was about to write something on a piece of paper, and then – Erik Babadzhanov (also seemingly appearing out of nowhere) tells me that something weird is happening, saying, “Look at the sky.” And there, half of the night sky was filled with some gigantic trapezoidal ships, behind which other ships were shooting missiles at each other – with flames and as thick as a finger. And then one of them crashes to the ground (it seemed to be in Moscow), and then the blast wave, collapsing buildings, fire, screams. At that moment, I managed to think that it would be smart to slide aside a manhole cover and dive in. Right then, I decided to wake up, or someone woke me – I don’t remember, so whether I survived or not – we’ll see tonight. Upon waking, the first thing I do is read the morning Facebook (which for you is almost evening), and there – a message from Maxim Antonov about the flying saucers having arrived, see the screenshot. I also found out that there’s a UFO Day 🙂

So now I wonder whether I’m already connected in my consciousness to the friend feed and incoming messages at night, or if it’s a sign 🙂