Software Engineer, Backend
BackendPosted over 2 months agofrom Glean's own hiring page
- Work type
- On-siteBengaluru
- Experience
- 6+ years
- Pay
- Not listedUsually ₹15 LPABackend, median at 5–9 years, in India (Payscale)
- Posted
- Over 2 months agoOpen over 4 years
Skills it mentions
Add your skills to see which ones you have.
About the job
Glean is looking for Backend/Infrastructure engineers to build a highly performant, scalable, secure, permissions-aware system that makes all the relevant enterprise knowledge readily available to employees in all contexts of their work. The role provides ample opportunities to work on various aspects of building a modern cloud-native application stack using the latest best practices - examples of some technical challenges you can work on are building a scalable, reliable distributed system and underlying storage, a unified application framework and data model that makes it easy to index diverse sources of information, end-to-end aspects of security - application layer, platform layer as well as IT security, laser focus on making the experience feel instant, while at the same time balancing the system cost implications, and tooling for comprehensive monitoring and deployment of the system in multiple cloud environments.
You will:
- Own impactful infrastructure problems from inception and architecture to production launch
- Write well thought out design documents and robust, high-quality and well-tested code
- Work collaboratively with a strong team to identify the most impactful projects we should be prioritizing in our roadmap
- Mentor more junior engineers or learn from battle tested ones
About you:
- BA/BS in computer science, or related degree
- Minimum 6+ years of experience working on infrastructure for distributed systems or cloud-native applications
- Thrive in a customer-focused, tight-nit and cross-functional environment - being a team player and willing to take on whatever is most impactful for the company is a must
- A proactive and positive attitude to lead, learn, troubleshoot and take ownership of both small tasks and large features
- Strong coding skills (for example in Go/Python/Java/C++ etc) with an emphasis on designing for reliability and scale, and writing well-tested components
- Familiarity with cloud native development practices in GCP/AWS/Azure is a plus
Location:
- This role is in person in Bangalore, India
Compensation & Benefits:
Compensation offered will be determined by factors such as location, level, job-related knowledge, skills, and experience. Certain roles may be eligible for variable compensation, equity, and benefits.
We are a diverse bunch of people and we want to continue to attract and retain a diverse range of people into our organization. We're committed to an inclusive and diverse company. We do not discriminate based on gender, ethnicity, sexual orientation, religion, civil or family status, age, disability, or race.
AI-First Mindset at Glean: At Glean, AI fluency is core to how we work and we're committed to ensuring every new hire feels confident integrating AI into their everyday work. As part of the interview process, you'll complete a brief AI-focused exercise or discussion so we can understand how you think about, design, and use AI to drive impact in your role. Feel free to reference any tools, platforms, or workflows you use today — prior Glean experience isn't required. Global Data Privacy Notice for Job Candidates and Applicants: Depending on your location, the General Data Protection Regulation (GDPR), California Consumer Privacy Act (CCPA), or other privacy laws may regulate the way we manage the data of job applicants. Our full notice outlining how data will be processed as part of the application procedure for applicable locations is available in our Privacy Policy. By submitting your application, you are agreeing to our use and processing of your data as required. US applicants and their applications are subject to arbitration of disputes as outlined in our Applicant Arbitration Agreement.By clicking “Submit Application,” I confirm that I have read the Global Data Privacy Notice and the Applicant Arbitration Agreement, and I agree to the terms.
Interested?Software Engineer, Backend at Glean
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Embedded systems, Python, Java and 4 more
Interview questions for this job
For the skills the ad mentions: Embedded systems, Python, Java, C++, Google Cloud, AWS and Azure.
What's the difference between a microcontroller and a microprocessor?Embedded systems
A microprocessor generally does not have RAM, ROM and IO pins. It usually uses its pins as a bus to interface to peripherals such as RAM, ROM, Serial ports, Digital and Analog IO. It is expandable at the board level due to this.
A microcontroller is 'all in one', the processor, ram, IO all on the one chip, as such you cannot (say) increase the amount of RAM available or the number of IO ports. The controlling bus is internal and not available to the board designer.
This means that a microprocessor is generally capable of being built into bigger general purpose applications than a microcontroller. The microcontroller is usually used for more dedicated applications.
All of these are very general statements. There are chips available that blur the boundaries.
From Electrical Engineering Stack Exchange: asked by endolith, answered by JohnC (CC BY-SA 3.0)
How do you remove multiple items from a list?Python
As with removing duplicates, explicitly iterating in reverse with a delete condition is one possibility. However, it is easier and faster to use slice replacement with an implicit or explicit forward iteration. Here are three variations:
mylist[:] = filter(keep_function, mylist) mylist[:] = (x for x in mylist if keep_condition) mylist[:] = [x for x in mylist if keep_condition]
The list comprehension may be fastest.
From Python Frequently Asked Questions (PSF License Version 2)
What are the basic interfaces of Java Collections Framework?Java
Java Collections Framework
The Collection in Java is a framework that provides an architecture to store and manipulate the group of objects. Java Collections can achieve all the operations that you perform on a data such as searching, sorting, insertion, manipulation, and deletion.
Iterator and Iterable
Iteratorinterface provides the facility of iterating the elements in a forward direction only. There are only three methods in theIteratorinterface. They are:Method Description public boolean hasNext()It returns true if the iterator has more elements otherwise it returns false. public Object next()It returns the element and moves the cursor pointer to the next element. public void remove()It removes the last elements returned by the iterator. It is less used. The
Iterableinterface is the root interface for all the collection classes. TheCollectioninterface extends theIterableinterface and therefore all the subclasses ofCollectioninterface also implement theIterableinterface. It contains only one abstract method:Iterator<T> iterator()It returns the iterator over the elements of type T.Collection
The root interface in the collection hierarchy. A collection represents a group of objects, known as its elements. Some collections allow duplicate elements and others do not. Some are ordered and others unordered. The JDK does not provide any direct implementations of this interface, it provides implementations of more specific subinterfaces like
SetandList. This interface is typically used to pass collections around and manipulate them where maximum generality is desired.Collectioninterface provides all general purpose methods which all collections classes must support (or throwUnsupportedOperationException). It extendsIterableinterface which adds support for iterating over collection elements using the "for-each loop" statement.List
An ordered collection (also known as a sequence). The user of this interface has precise control over where in the list each element is inserted. The user can access elements by their integer index (position in the list), and search for elements in the list. It can have duplicate values. There are various methods in
Listinterface that can be used to insert, delete, and access the elements from the list.Listinterface is implemented by the classes:ArrayList,LinkedList,Vector, andStack.Set
Sets represents a collection of sorted elements. Sets do not allow the duplicate elements.
Setinterface does not provides no guarantee to return the elements in any predictable order; though someSetimplementations store elements in their natural ordering and guarantee this order.Some useful classes which implement
Setinterface are –EnumSet,HashSet,LinkedHashSetandTreeSet.Map
The
Mapinterface enable us to store data in key-value pairs (keys should be immutable). A map cannot contain duplicate keys; each key can map to at most one value.The
Mapinterface provides three collection views, which allow a map’s contents to be viewed as a set of keys, collection of values, or set of key-value mappings. Some map implementations, like theTreeMapclass, make specific guarantees as to their order; others, like theHashMapclass, do not.Some useful classes which implement
Mapinterface are –ConcurrentHashMap,ConcurrentSkipListMap,EnumMap,HashMap,Hashtable,IdentityHashMap,LinkedHashMap,Properties,TreeMapandWeakHashMap.Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)
Why are elementwise additions much faster in separate loops than in a combined loop?C++
Upon further analysis of this, I believe this is (at least partially) caused by the data alignment of the four-pointers. This will cause some level of cache bank/way conflicts.
If I've guessed correctly on how you are allocating your arrays, they are likely to be aligned to the page line.
This means that all your accesses in each loop will fall on the same cache way. However, Intel processors have had 8-way L1 cache associativity for a while. But in reality, the performance isn't completely uniform. Accessing 4-ways is still slower than say 2-ways.
EDIT: It does in fact look like you are allocating all the arrays separately. Usually when such large allocations are requested, the allocator will request fresh pages from the OS. Therefore, there is a high chance that large allocations will appear at the same offset from a page-boundary.
Here's the test code:
int main(){ const int n = 100000; #ifdef ALLOCATE_SEPERATE double *a1 = (double*)malloc(n * sizeof(double)); double *b1 = (double*)malloc(n * sizeof(double)); double *c1 = (double*)malloc(n * sizeof(double)); double *d1 = (double*)malloc(n * sizeof(double)); #else double *a1 = (double*)malloc(n * sizeof(double) * 4); double *b1 = a1 + n; double *c1 = b1 + n; double *d1 = c1 + n; #endif // Zero the data to prevent any chance of denormals. memset(a1,0,n * sizeof(double)); memset(b1,0,n * sizeof(double)); memset(c1,0,n * sizeof(double)); memset(d1,0,n * sizeof(double)); // Print the addresses cout << a1 << endl; cout << b1 << endl; cout << c1 << endl; cout << d1 << endl; clock_t start = clock(); int c = 0; while (c++ < 10000){ #if ONE_LOOP for(int j=0;j<n;j++){ a1[j] += b1[j]; c1[j] += d1[j]; } #else for(int j=0;j<n;j++){ a1[j] += b1[j]; } for(int j=0;j<n;j++){ c1[j] += d1[j]; } #endif } clock_t end = clock(); cout << "seconds = " << (double)(end - start) / CLOCKS_PER_SEC << endl; system("pause"); return 0; }Benchmark Results:
EDIT: Results on an actual Core 2 architecture machine:
2 x Intel Xeon X5482 Harpertown @ 3.2 GHz:
#define ALLOCATE_SEPERATE #define ONE_LOOP 00600020 006D0020 007A0020 00870020 seconds = 6.206 #define ALLOCATE_SEPERATE //#define ONE_LOOP 005E0020 006B0020 00780020 00850020 seconds = 2.116 //#define ALLOCATE_SEPERATE #define ONE_LOOP 00570020 00633520 006F6A20 007B9F20 seconds = 1.894 //#define ALLOCATE_SEPERATE //#define ONE_LOOP 008C0020 00983520 00A46A20 00B09F20 seconds = 1.993Observations:
6.206 seconds with one loop and 2.116 seconds with two loops. This reproduces the OP's results exactly.
In the first two tests, the arrays are allocated separately. You'll notice that they all have the same alignment relative to the page.
In the second two tests, the arrays are packed together to break that alignment. Here you'll notice both loops are faster. Furthermore, the second (double) loop is now the slower one as you would normally expect.
As @Stephen Cannon points out in the comments, there is a very likely possibility that this alignment causes false aliasing in the load/store units or the cache. I Googled around for this and found that Intel actually has a hardware counter for partial address aliasing stalls:
5 Regions - Explanations
Region 1:
This one is easy. The dataset is so small that the performance is dominated by overhead like looping and branching.
Region 2:
Read the rest at the sourceFrom Stack Overflow: asked by Johannes Gerer, answered by Mysticial (CC BY-SA 4.0)
What's the difference between BigQuery and Bigtable?Google Cloud
The difference is basically this:
BigQuery is a query Engine for datasets that don't change much, or change by appending. It's a great choice when your queries require a "table scan" or the need to look across the entire database. Think sums, averages, counts, groupings. BigQuery is what you use when you have collected a large amount of data, and need to ask questions about it.
BigTable is a database. It is designed to be the foundation for a large, scaleable application. Use BigTable when you are making any kind of app that needs to read and write data, and scale is a potential issue.
From Stack Overflow: asked by The user with no hat, answered by Michael Manoochehri (CC BY-SA 3.0)
What do you know about our company?Behavioural
Employers want to see that you have a genuine interest in working for them by asking questions like:
- what do you know about our company?
- why do you think you're a good fit for our company?
- why do you want to work for us?
To prepare for questions about the employer, you need to research the company. You should look at their website and 'about us' pages to find out more about their products, services and values.
Show what you've learned about the company throughout the interview.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Backend DeveloperWeekday, Bengaluru, on-siteYesterday
- Senior Software Engineer - PA183ZoomInfo Technologies LLC, Bengaluru, on-site2 days ago
- Software Engineer - Enterprise AppsRubrik, Bengaluru, on-site2 days ago
- Custom Software EngineerAccenture, Bengaluru, Pune +3, on-site2 days ago
More like this: Backend developer jobs in Bengaluru (333), Jobs in Bengaluru (10,735) and Backend developer jobs in India (880)


