Last active
August 22, 2024 07:13
-
-
Save amir734jj/d3c5e694f43b141bfc22cae57e084b90 to your computer and use it in GitHub Desktop.
confluent-interview-questions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Glassdoor questions: | |
- Given a game to you which is running on an instance and hasMySQL installed on it locally, now with the game popularity increasing, suggest ways that it stays highly secure and highly available and then with every step he was adding more things on it, like we want to use JWT on it, should we use it? session maintenance etc. | |
- URL shortener in Go | |
- MRU cache implementation in java or Go | |
- Distributed Systems, Coding Comprehension | |
- garbage collection in Java | |
- SFDC related experience | |
- debounce function | |
- Memory management for Java applications | |
- serialise a binary tree? | |
- LRU Cache | |
- Count trailing zeroes in factorial of a number | |
Hackernews questions: | |
- How do you design a CDN form scratch? | |
- How would you design a Distributed hash table? | |
- Experience with `go trace` to debug memory leak in Go | |
- Analyze memory footprint of a class in Java vs. Go struct | |
- Garbage collection pauses in Java JVM are common, we can set a soft limit for pauses: -XX:MaxGCPauseMillis=200 | |
- Go uses concurrent garbage collection that runs concurrently with the main thread: | |
> initially introduced 2014: https://github.com/golang/go/issues/9477 | |
> incorprated into Go compiler 2016: https://go-review.googlesource.com/c/go/+/23540 | |
Also Go compiler unlike Java compiler favors more heap than stack so less memory footprint overall. Remember GC runs on heap and not | |
stack and stack memory doesn't get de-allocated once its allocated at the beginning of the program. | |
GitHub questions: | |
- Variant of Run-length encoding | |
- Minimum Number of Platforms Required for a Railway/Bus Station (basic scheduling for distributed systems) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment