Skip to content

Instantly share code, notes, and snippets.

@amir734jj
Last active March 19, 2024 07:25
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amir734jj/d3c5e694f43b141bfc22cae57e084b90 to your computer and use it in GitHub Desktop.
Save amir734jj/d3c5e694f43b141bfc22cae57e084b90 to your computer and use it in GitHub Desktop.
confluent-interview-questions
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