Software Engineer-Golang/Java/Data Structures/Algorithms
BackendPosted 4 weeks agofrom Motorola Solutions's own hiring page
- Work type
- On-siteBengaluru
- Experience
- 3–8 years
- Pay
- Not listedUsually ₹6.2–15 LPABackend, median at 1–9 years, in India (Payscale)
- Posted
- 4 weeks ago
Skills it mentions
Add your skills to see which ones you have.
About the job
Company Overview
At Motorola Solutions, we believe that everything starts with our people. We’re a global close-knit community, united by the relentless pursuit to help keep people safer everywhere. We build and connect technologies to help protect people, property and places. Our solutions foster the collaboration that’s critical for safer communities, safer schools, safer hospitals, safer businesses, and ultimately, safer nations. Connect with a career that matters, and help us build a safer future.
Department Overview
Software Engineering
Job Description
Key Responsibilities:
- Develop the core Load Distribution engine using Finite State Machines (FSM) to manage dynamic homing, execute Weighted Average Score (WAS) algorithms, and implement hysteresis.
- Architect high-throughput API and messaging layers using gRPC for metrics ingestion and RabbitMQ (RMQ) for event-driven communication.
- Implement distributed leader election and consensus mechanisms utilizing Consul Raft and LockAuthority across active-active deployments.
- Ensure system scalability to handle 3,000+ assignments per second while integrating Apache Ignite/GridGain for stateless caching and data recovery.
Basic Requirements
Required Skills & Experience:
- 3- 8 years of Deep hands-on experience in Golang (preferred) and proficiency in C, C++, or Java.
- Strong computer science fundamentals, data structures, and algorithms.
- Deep understanding of distributed systems, multi-threading, concurrency control, and Finite State Machines (FSM).
- Hands-on expertise with networking and messaging protocols including gRPC, Protobuf v3, and RabbitMQ.
- Strong background with distributed databases like Apache Ignite and GridGain, and consensus tools like Consul Raft and LockAuthority.
- Practical knowledge of persistence and caching solutions such as PostgreSQL, Redis, and ElasticSearch.
- Excellent written and verbal communication skills for technical documentation and explaining complex ideas.
Travel Requirements
Under 10%
Relocation Provided
None
Position Type
ExperiencedReferral Payment Plan
NoEEO Statement
Motorola Solutions is an Equal Opportunity Employer. All qualified applicants will receive consideration for employment without regard to race, color, religion or belief, sex, sexual orientation, gender identity, national origin, disability, veteran status or any other legally-protected characteristic.
We are proud of our people-first and community-focused culture, empowering every Motorolan to be their most authentic self and to do their best work to deliver on the promise of a safer world. If you’d like to join our team but feel that you don’t quite meet all of the preferred skills, we’d still love to hear why you think you’d be a great addition to our team.
Interested?Software Engineer-Golang/Java/Data Structures/Algorithms at Motorola Solutions
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Java, C, C++ and 4 more
Interview questions for this job
For the skills the ad mentions: Java, C, C++, Networking, PostgreSQL, Redis and Elasticsearch.
Does a finally block always get executed in Java?Java
Yes,
finallywill be called after the execution of thetryorcatchcode blocks.The only times
finallywon't be called are:- If you invoke
System.exit() - If you invoke
Runtime.getRuntime().halt(exitStatus) - If the JVM crashes first
- If the JVM reaches an infinite loop (or some other non-interruptable, non-terminating statement) in the
tryorcatchblock - If the OS forcibly terminates the JVM process; e.g.,
kill -9 <pid>on UNIX - If the host system dies; e.g., power failure, hardware error, OS panic, et cetera
- If the
finallyblock is going to be executed by a daemon thread and all other non-daemon threads exit beforefinallyis called
From Stack Overflow: asked by jonny five, answered by jodonnell (CC BY-SA 4.0)
- If you invoke
Difference between malloc and calloc?C
calloc()gives you a zero-initialized buffer, whilemalloc()leaves the memory uninitialized.For large allocations, most
callocimplementations under mainstream OSes will get known-zeroed pages from the OS (e.g. via POSIXmmap(MAP_ANONYMOUS)or WindowsVirtualAlloc) so it doesn't need to write them in user-space. This is how normalmallocgets more pages from the OS as well;callocjust takes advantage of the OS's guarantee.This means
callocmemory can still be "clean" and lazily-allocated, and copy-on-write mapped to a system-wide shared physical page of zeros. (Assuming a system with virtual memory.) The effects are visible with performance experiments on Linux, for example.Some compilers even can optimize malloc + memset(0) into calloc for you, but it's best to just use calloc in the source if you want zeroed memory. (Or if you were trying to pre-fault it to avoid page faults later, that optimization will defeat your attempt.)
If you aren't going to ever read memory before writing it, use
mallocso it can (potentially) give you dirty memory from its internal free list instead of getting new pages from the OS. (Or instead of zeroing a block of memory on the free list for a small allocation).Embedded implementations of
callocmay leave it up tocallocitself to zero memory if there's no OS, or it's not a fancy multi-user OS that zeros pages to stop information leaks between processes.On embedded Linux, malloc could
mmap(MAP_UNINITIALIZED|MAP_ANONYMOUS), which is only enabled for some embedded kernels because it's insecure on a multi-user system.From Stack Overflow: asked by user105033, answered by Fred Larson (CC BY-SA 4.0)
What are the basic rules and idioms for operator overloading?C++
Common Operators to Overload
Most of the work in overloading operators is boilerplate code. That is little wonder, since operators are merely syntactic sugar. Their actual work could be done by (and often is forwarded to) plain functions. But it is important that you get this boilerplate code right. If you fail, either your operator’s code won’t compile, your users’ code won’t compile, or your users’ code will behave surprisingly.
Assignment Operator
There's a lot to be said about assignment. However, most of it has already been said in GMan's famous Copy-And-Swap FAQ, so I'll skip most of it here, only listing the perfect assignment operator for reference:
X& X::operator=(X rhs) { swap(rhs); return *this; }Stream Insertion and Extraction
Disclaimer For overloading <<and>>as bitwise shift operators, skip to the section Binary Arithmetic Operators.The bitwise shift operators
<<and>>, although still used in hardware interfacing for the bit-manipulation functions they inherit from C, have become more prevalent as overloaded stream input and output operators in most applications.The stream operators, among the most commonly overloaded operators, are binary infix operators for which the syntax does not specify any restriction on whether they should be members or non-members. However, their left operands are streams from the standard library, and you cannot add member functions to those1, so you need to implement these operators for your own types as non-member functions2. The canonical forms of the two are these:
std::ostream& operator<<(std::ostream& os, const T& obj) { // Write obj to stream return os; } std::istream& operator>>(std::istream& is, T& obj) { // Read obj from stream if( /* no valid object of T found in stream */ ) is.setstate(std::ios::failbit); return is; }When implementing
operator>>, manually setting the stream’s state is only necessary when the reading itself succeeded, but the result is not what would be expected.1 Note that some of the
<<overloads of the standard library are implemented as member functions, and some as free functions. Only the locale-dependent functions are member functions, such asoperator<<(long).2 According to the rules of thumb, the insertion/extraction operators should be member functions because they modify the left operand. However, we cannot follow the rules of thumb here.
Function Call Operator
The function call operator, used to create function objects, also known as functors, must be defined as a member function, so it always has the implicit
thisargument of member functions. Other than this, it can be overloaded to take any number of additional arguments, including zero.Here's an example of the syntax:
struct X { // Overloaded call operator int operator()(const std::string& y) { return /* ... */; } };Usage:
X f; int a = f("hello");Throughout the C++ standard library, function objects are always copied. Your own function objects should therefore be cheap to copy. If a function object absolutely needs to use data which is expensive to copy, it is better to store that data elsewhere and have the function object refer to it.
Comparison Operators
Read the rest at the sourceFrom Stack Overflow: asked by sbi, answered by sbi (CC BY-SA 4.0)
How do you calculate the prefix, network, subnet, and host numbers?Networking
Calculating the Netmask Length (also called a prefix):
Convert the dotted-decimal representation of the netmask to binary. Then, count the number of contiguous 1 bits, starting at the most significant bit in the first octet (i.e. the left-hand-side of the binary number).
255.255.248.0 in binary: 11111111 11111111 11111000 00000000 ----------------------------------- I counted twenty-one 1s -------> /21The prefix of 128.42.5.4 with a 255.255.248.0 netmask is /21.
Calculating the Network Address:
The network address is the logical AND of the respective bits in the binary representation of the IP address and network mask. Align the bits in both addresses, and perform a logical AND on each pair of the respective bits. Then convert the individual octets of the result back to decimal.
Logical AND truth table:
128.42.5.4 in binary: 10000000 00101010 00000101 00000100 255.255.248.0 in binary: 11111111 11111111 11111000 00000000 ----------------------------------- [Logical AND] 10000000 00101010 00000000 00000000 ------> 128.42.0.0As you can see, the network address of 128.42.5.4/21 is 128.42.0.0
Calculating the Broadcast Address:
The broadcast address converts all host bits to 1s...
Remember that our IP address in decimal is:
128.42.5.4 in binary: 10000000 00101010 00000101 00000100The network mask is:
255.255.248.0 in binary: 11111111 11111111 11111000 00000000This means our host bits are the last 11 bits of the IP address, because we find the host mask by inverting the network mask:
Host bit mask : 00000000 00000000 00000hhh hhhhhhhhTo calculate the broadcast address, we force all host bits to be 1s:
128.42.5.4 in binary: 10000000 00101010 00000101 00000100 Host bit mask : 00000000 00000000 00000hhh hhhhhhhh ----------------------------------- [Force host bits] 10000000 00101010 00000111 11111111 ----> 128.42.7.255Calculating subnets:
You haven't given enough information to calculate subnets for this network; as a general rule you build subnets by reallocating some of the host bits as network bits for each subnet. Many times there isn't one right way to subnet a block... depending on your constraints, there could be several valid ways to subnet a block of addresses.
Let's assume we will break 128.42.0.0/21 into 4 subnets that must hold at least 100 hosts each...
In this example, we know that you need at least a /25 prefix to contain 100 hosts; I chose a /24 because it falls on an octet boundary. Notice that the network address for each subnet borrows host bits from the parent network block.
Finding the required subnet masklength or netmask:
How did I know that I need at least a /25 masklength for 100 hosts? Calculate the prefix by backing into the number of host bits required to contain 100 hosts. One needs 7 host bits to contain 100 hosts. Officially this is calculated with:
Host bits = Log2(Number-of-hosts) = Log2(100) = 6.643
Since IPv4 addresses are 32 bits wide, and we are using the host bits (i.e. least significant bits), simply subtract 7 from 32 to calculate the minimum subnet prefix for each subnet... 32 - 7 = 25.
The lazy way to break 128.42.0.0/21 into four equal subnets:
Since we only want four subnets from the whole 128.42.0.0/21 block, we could use /23 subnets. I chose /23 because we need 4 subnets... i.e. an extra two bits added to the netmask.
This is an equally-valid answer to the constraint, using /23 subnets of 128.42.0.0/21...
Calculating the host number:
This is what we've already done above... just reuse the host mask from the work we did when we calculated the broadcast address of 128.42.5.4/21... This time I'll use 1s instead of
h, because we need to perform a logical AND on the network address again.Read the rest at the sourceFrom Network Engineering Stack Exchange: asked by user5032, answered by Mike Pennington (CC BY-SA 4.0)
Are views harmful for performance in PostgreSQL?PostgreSQL
The book is wrong.
Selecting from a view is exactly as fast or slow as running the underlying SQL statement – you can easily check that using
explain analyze.The Postgres optimizer (and the optimizer for many other modern DBMSes) will be able to push down predicates on the view into the actual view statement – provided this is a simple statement (again, this can be verified using
explain analyze).The "bad reputation" regarding performance stems – I think – from when you overuse views and start building views that use views that use views. Very often that results in statements that do too much compared to a statement that was hand-tailored without the views e.g. because some intermediate tables wouldn't be needed. In almost all cases the optimizer is not smart enough to remove those unneeded tables/joins or to push down predicates over multiple levels of views (this is true for other DBMSes as well).
From Database Administrators Stack Exchange: asked by ARX, answered by user1822 (CC BY-SA 3.0)
Why do you want to work for us?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)


