---
title: "Sayed Alesawy (@sayedalesawy) | Hashnode"
description: "Lead Software Engineer @ Instabug. Read the latest articles by Sayed Alesawy on Hashnode."
url: "https://hashnode.com/@sayedalesawy"
---

@sayedalesawy

# Sayed Alesawy

@sayedalesawy · Cairo, Egypt · Joined April 2021

Lead Software Engineer @ Instabug

## Comments

[Usually there is a setting called index\_granularity, which tells the index how many keys it should save. So for example if the index\_granularity is 5000, it will save 1 key every 5000 keys and so on. I don't there is anything to optimize here tbh but I am not 100% sure.](https://hashnode.com/posts/designing-data-intensive-applications-ch3-storage-and-retrieval-or-part-1/622c9c5ddf08b9b823417562/comment/66fc1b9dc825a74912324fd6#reply-66fd06967b6db0c96c61c330)

Reply · Article · Oct 2, 2024 · [Designing Data Intensive Applications: Ch3. Storage and Retrieval | Part 1](https://hashnode.com/posts/designing-data-intensive-applications-ch3-storage-and-retrieval-or-part-1/622c9c5ddf08b9b823417562)

[I don’t see how they are contradicting? The entire table is in the clustered index and it’s stored as one row per leaf. Both statements are correct. And yes, for an innodb engine, there are no disk pointers. Did that answer your concern?](https://hashnode.com/posts/high-performance-mysql-ch5-indexing-for-high-performance/607ad6f3c99e200d08f7ae37/comment/66859a8e3ca78ff712784e4d#reply-6685cdc1abe2bd758732dddd)

Reply · Article · Jul 3, 2024 · [High Performance MySQL \[Ch.5: Indexing for High Performance\]](https://hashnode.com/posts/high-performance-mysql-ch5-indexing-for-high-performance/607ad6f3c99e200d08f7ae37)

[If we have a composite index like this idx(a,b,c). A leftmost prefix is a or ab or abc and so on. Any query pattern than can be covered by a leftmost prefix of the index can in fact utility this index. Is that more clear?](https://hashnode.com/posts/high-performance-mysql-ch5-indexing-for-high-performance/607ad6f3c99e200d08f7ae37/comment/664fb7c62c0b864bf373ceb5#reply-664fbb68bf41a07a8f25ba14)

Reply · Article · May 23, 2024 · [High Performance MySQL \[Ch.5: Indexing for High Performance\]](https://hashnode.com/posts/high-performance-mysql-ch5-indexing-for-high-performance/607ad6f3c99e200d08f7ae37)

[Good point. You’re correct, but I think the author’s definition of “very short” strings is definitely way less than 255. Also, a note throughout the book, it’s referencing mysql 5.7 (at least for the version I have read). They don’t differ on this particular detail tho.](https://hashnode.com/posts/high-performance-mysql-ch4-optimizing-schema-and-data-types/607ac811c99e200d08f7acea/comment/662fd4355a7cf505bda65afa#reply-6631456d49b7876c4be48462)

Reply · Article · Apr 30, 2024 · [High Performance MySQL \[Ch.4: Optimizing Schema and Data Types\]](https://hashnode.com/posts/high-performance-mysql-ch4-optimizing-schema-and-data-types/607ac811c99e200d08f7acea)

[Abdelaziz Sliem I think hashnode blocks links comments.](https://hashnode.com/posts/concurrency-race-conditions-and-concurrency-control/62af412d0924134a80489d1a/comment/62af6f310924134a8048a662#reply-62b02fd282adbb66f3a0abf3)

Reply · Article · Jun 20, 2022 · [Concurrency, Race Conditions and Concurrency Control](https://hashnode.com/posts/concurrency-race-conditions-and-concurrency-control/62af412d0924134a80489d1a)

[Thanks Akef. Yes, you're right, will edit the article soon.](https://hashnode.com/posts/concurrency-race-conditions-and-concurrency-control/62af412d0924134a80489d1a/comment/62af6f310924134a8048a662#reply-62af99ccd8afe74aa51fe030)

Reply · Article · Jun 19, 2022 · [Concurrency, Race Conditions and Concurrency Control](https://hashnode.com/posts/concurrency-race-conditions-and-concurrency-control/62af412d0924134a80489d1a)

[Thank you! Glad you enjoyed it.](https://hashnode.com/posts/learn-mysql-internals-and-query-performance-optimization-techniques/60e98c306d962b01bdecc043/comment/60f57ad2bb67011cb836e2de#reply-60f607a866fcdb0a02748233)

Reply · Article · Jul 19, 2021 · [Learn MySQL Internals and Query Performance Optimization Techniques](https://hashnode.com/posts/learn-mysql-internals-and-query-performance-optimization-techniques/60e98c306d962b01bdecc043)

[Thank you! Glad you enjoyed it.](https://hashnode.com/posts/learn-mysql-internals-and-query-performance-optimization-techniques/60e98c306d962b01bdecc043/comment/60f5272f66fcdb0a0274609f#reply-60f607a2bb67011cb836fb43)

Reply · Article · Jul 19, 2021 · [Learn MySQL Internals and Query Performance Optimization Techniques](https://hashnode.com/posts/learn-mysql-internals-and-query-performance-optimization-techniques/60e98c306d962b01bdecc043)

[Thank you! Glad you like it. You can checkout the follow up article on how facebook managed to cut costs by integrating a new system for cold storage and move Haystack to serve warm storage purposes only. You can find the article in the series.](https://hashnode.com/posts/finding-a-needle-in-a-haystack-how-facebook-serves-millions-of-images-per-second/60ba65dffffc4c13b9cd4bc9/comment/60f1825438f10a30f4e7ad0c#reply-60f193b2bceb865a350084f2)

Reply · Article · Jul 16, 2021 · [Finding a Needle in a Haystack: How Facebook Serves Millions of Images per Second](https://hashnode.com/posts/finding-a-needle-in-a-haystack-how-facebook-serves-millions-of-images-per-second/60ba65dffffc4c13b9cd4bc9)

[Apoorv Tyagi Where can I find their discord server tho :see-no-evil:?](https://hashnode.com/posts/winners-of-june-coffee-giveaway/60eb2dc6c551f16b0f84e911/comment/60eb4c5d6d962b01bded3b63#reply-60f0471719e3e845d50cf443)

Reply · Article · Jul 15, 2021 · [Winners of June Coffee Giveaway](https://hashnode.com/posts/winners-of-june-coffee-giveaway/60eb2dc6c551f16b0f84e911)
