Staff Software Engineer
Software engineeringPosted over 2 months agovia Himalayas, a remote job board
- Work type
- RemoteIn India
- Experience
- 7+ years
- Pay
- Not listedUsually ₹15 LPASoftware engineering, median at 5–9 years, in India (Payscale)
- Posted
- Over 2 months agoOpen 2 months
Skills it mentions
Add your skills to see which ones you have.
About the job
About Agara:
Massive amounts of data and computing power available today allow interesting things to be done with deep learning. However, enterprises can unlock the true strength of this technology only when it pervades wide and deep into their systems affecting core workflows and processes.
Agara solution is an end-to-end system of engagement for large enterprises. Hosted on the cloud, it deploys quickly and seamlessly over existing storage systems. Agara is leveraging cutting edge machine learning and artificial intelligence to solve peculiar and thorny problems for large enterprise customers. Our small, tightly knit team includes senior ML practitioners from global internet giants and engineers with experience of thinking up and deploying complex architectures. We are based in
Bangalore and develop products for enterprises with a global footprint. ( Responsibilities:
- Architecting an ecosystem of microservices with blazing fast and efficient inter-process communication
- Building an API that will scale out to millions of requests a day
-
Setting up fail-proof data-storage solutions, ensuring their synchronisation and ability to
scale horizontally - Working with state-of-the-art machine learning toolkits
- Make the model faster for real-time predictions
- Implementing the best industry practices w.r.t CI, CD and information security
You Must Have:
7+ years of experience in a developer and / or lead-developer role
Strong fundamental knowledge of HTTP
Strong fundamental knowledge of Linux systems
A deep architectural understanding of web applications
Experience crafting, implementing, and securing high-performance RESTful services
capable of serving millions of requests a day Ability to build fault-tolerant software systems
Ability to pick the right storage-system and the right data structure for the task at hand B.Tech/M.Tech in Computer Science
What we offer:
Apart from all the general benefits of best in industry compensation, benefits & perks, we are proud of our great talents, great work & great culture. We believe in mutual trust, flexibility & transparency.
Our Co-Founders:
Mr. Abhimanyu Singh (Co-Founder, COO):
Mr. Arjun Maheswaran (Co-Founder, CTO):
Halli Labs Private Limited (Agara) is an Equal Opportunity/Affirmative Action employer. All qualified applicants will receive consideration for employment without regard to race, religion, color, national origin, ancestry, age, physical or mental disability, sex, sexual orientation, gender identity/expression, pregnancy, veteran status, marital status, creed, status with regard to public assistance, genetic status or any other status protected by federal, state or local law.
Originally posted on Himalayas
Interested?Staff Software Engineer at Agara
Apply on Himalayas (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Microservices, Machine learning, Linux and 1 more
Interview questions for this job
For the skills the ad mentions: Microservices, Machine learning, Linux and REST APIs.
Microservices vs Monolithic ArchitectureMicroservices
This is a very important question because a few people get lured by all the buzz around microservices, and there are tradeoffs to consider. So, what are the benefits and challenges of microservices (when compared with the monolithic model)?
Benefits
- Deployability: more agility to roll out new versions of a service due to shorter build+test+deploy cycles. Also, flexibility to employ service-specific security, replication, persistence, and monitoring configurations.
- Reliability: a microservice fault affects that microservice alone and its consumers, whereas in the monolithic model a service fault may bring down the entire monolith.
- Availability: rolling out a new version of a microservice requires little downtime, whereas rolling out a new version of a service in the monolith requires a typically slower restart of the entire monolith.
- Scalability: each microservice can be scaled independently using pools, clusters, grids. The deployment characteristics make microservices a great match for the elasticity of the cloud.
- Modifiability: more flexibility to use new frameworks, libraries, datasources, and other resources. Also, microservices are loosely-coupled, modular components only accessible via their contracts, and hence less prone to turn into a big ball of mud.
- Management: the application development effort is divided across teams that are smaller and work more independently.
- Design autonomy: the team has freedom to employ different technologies, frameworks, and patterns to design and implement each microservice, and can change and redeploy each microservice independently
Challenges
- Deployability: there are far more deployment units, so there are more complex jobs, scripts, transfer areas, and config files to oversee for deployment. (For that reason, continuous delivery and DevOps are highly desirable for microservice projects.)
- Performance: services more likely need to communicate over the network, whereas services within the monolith may benefit from local calls. (For that reason, the design should avoid "chatty" microservices.)
- Modifiability: changes to the contract are more likely to impact consumers deployed elsewhere, whereas in the monolithic model consumers are more likely to be within the monolith and will be rolled out in lockstep with the service. Also, mechanisms to improve autonomy, such as eventual consistency and asynchronous calls, add complexity to microservices.
- Testability: integration tests are harder to setup and run because they may span different microservices on different runtime environments.
- Management: the effort to manage operations increases because there are more runtime components, log files, and point-to-point interactions to oversee.
- Memory use: several classes and libraries are often replicated in each microservice bundle and the overall memory footprint increases.
- Runtime autonomy: in the monolith the overall business logic is collocated. With microservices the logic is spread across microservices. So, all else being equal, it's more likely that a microservice will interact with other microservices over the network--that interaction decreases autonomy. If the interaction between microservices involves changing data, the need for a transactional boundary further compromises autonomy. The good news is that to avoid runtime autonomy issues, we can employ techniques such as eventual consistency, event-driven architecture, CQRS, cache (data replication), and aligning microservices with DDD bounded contexts. These techniques are not inherent to microservices, but have been suggested by virtually every author I've read.
Read the rest at the sourceFrom Stack Overflow: asked by user902383, answered by Paulo Merson (CC BY-SA 4.0)
What does `view()` do in PyTorch?Machine learning
view()reshapes the tensor without copying memory, similar to numpy'sreshape().Given a tensor
awith 16 elements:import torch a = torch.range(1, 16)To reshape this tensor to make it a
4 x 4tensor, use:a = a.view(4, 4)Now
awill be a4 x 4tensor. Note that after the reshape the total number of elements need to remain the same. Reshaping the tensorato a3 x 5tensor would not be appropriate.What is the meaning of parameter -1?
If there is any situation that you don't know how many rows you want but are sure of the number of columns, then you can specify this with a -1. (Note that you can extend this to tensors with more dimensions. Only one of the axis value can be -1). This is a way of telling the library: "give me a tensor that has these many columns and you compute the appropriate number of rows that is necessary to make this happen".
This can be seen in this model definition code. After the line
x = self.pool(F.relu(self.conv2(x)))in the forward function, you will have a 16 depth feature map. You have to flatten this to give it to the fully connected layer. So you tell PyTorch to reshape the tensor you obtained to have specific number of columns and tell it to decide the number of rows by itself.From Stack Overflow: asked by Wasi Ahmad, answered by Kashyap (CC BY-SA 4.0)
Why is "chmod -R 777 /" destructive?Linux
First of all a minor terminology nitpick:
chmoddoesn't remove permissions. It CHANGES them.Now the meat of the issue -- The mode
777means "Anyone can read, write or execute this file" - You have given permission for anyone to do (effectively) whatever the heck they want.Now, why is this bad?
- You've just let everyone read/modify every file on your system.
- Kiss password security goodbye (anyone can read the shadow file and crack your passwords, but why bother? Just CHANGE the password! It's much easier!).
- Kiss security for your binaries goodbye (someone can just write a new
loginprogram that lets them in every time). - Kiss your files goodbye: One user misdirects
rm -r /and it's all over. The OS was told to let them do whatever they wanted!
- You've pissed off every program that checks permissions on files before starting.
sudo,sendmail, and a host of others simply will not start any more. They will examine key file permissions, see they're not what they're supposed to be, and kick back an error message.
Similarlysshwill break horribly (key files must have specific permissions, otherwise they're "insecure" and by default SSH will refuse to use them.) - You've wiped out the setuid / setgid bits on the programs that had them.
The mode777is actually0777. Among the things in that leading digit are thesetuidandsetgidbits.
Most programs which are setuid/setgid have that bit set because they must run with certain privileges. They're broken now. - You've broken
/tmpand/var/tmpThe other thing in that leading octal digit that got zero'd is thesticky bit-- That which protects files in/tmp(and/var/tmp) from being deleted by people who don't own them.
There are (unfortunately) plenty of badly-behaved scripts out there that "clean up" by doing anrm -r /tmp/*, and without the sticky bit set on/tmpyou can kiss all the files in that directory goodbye.
Having scratch files disappear can really upset some badly-written programs... - You've caused havoc in
/dev/procand similar filesystems
This is more of an issue on older Unix systems where/devis a real filesystem, and the stuff it contains are special files created withmknod, as the permissions change will be preserved across reboots, but on any system having your device permissions changing can cause substantial problems, from the obvious security risks (everyone can read every TTY) to the less-obvious potential causes of a kernel panic.
Credit to @Tonny for pointing out this possibility - Sockets and Pipes may break, or have other problems
Sockets and pipes may break entirely, or be exposed to malicious injection as a result of being made world-writeable.
Credit to @Tonny for pointing out this possibility - You've made every file on your system executable
A lot of people have.in theirPATHenvironment variable (you shouldn't!) - This could cause an unpleasant surprise as now anyone can drop a file conveniently named like a command (saymakeorls, and have a shot at getting you to run their malicious code.
Credit to @RichHomolka for pointing out this possibility - On some systems
chmodwill reset Access Control Lists (ACLs)
This means you may wind up having to re-create all your ACLs in addition to fixing permissions everywhere (and is an actual example of the command being destructive).
Credit to @JamesYoungman for pointing out this possibility
Will the parts of the system which are already running continue to run? Probably, for a while at least.
But the next time you need to launch a program, or restart a service, or heaven forbid REBOOT the box you're in for a world of hurt as #2 and #3 above will rear their ugly heads.From Server Fault: asked by samwise, answered by voretaq7 (CC BY-SA 3.0)
- You've just let everyone read/modify every file on your system.
What can be used as rest client?REST APIs
- Netflix provides Feign as an abstraction over REST-based calls, by which microservices can communicate with each other, but developers don't have to bother about REST internal details.
- Jersey
- Spring RestTemplate Links
- https://dzone.com/articles/microservices-communication-feign-as-rest-client
- https://stackoverflow.com/questions/221442/rest-clients-for-java
From Java interview (MIT)
Kafka Msg VS REST CallsMicroservices
Gist (for those who want just the gist)
-
Kafka - Publish & Subscribe (just process the pipeline, will notify once the job is done)
REST - Request & Await response (on-demand)
-
Kafka - Publish once - Subscribe n times (by n components).
REST - Request once, get the response once. Deal over.
-
Kafka - Data is stored in topic. Seek back & forth (offsets) whenever you want till the topic is retained.
REST - Once the response is over, it is over. Manually employ a database to store the processed data.
-
Kafka - Split the processing, have intermediate data stored in intermediate topics (for speed and fault-tolerance)
REST - Take the data, process it all at once OR if you wish to break it down, don't forget to take care of your OWN intermediate data stores.
-
Kafka - The one who makes the request typically is not interested in a response (except the response that if the message is sent)
REST - I am making the request means I typically expect a response (not just a response that you have received the request, but something that is meaningful to me, some computed result for example!)
Q&A style
Is your data streaming?
If the data keeps on coming and you have a pipeline to execute, Kafka is best.Do you need a request-response model?
If the user requests for something and they wait for a response, then REST is best. Though, you can still use Kafka for this, such asspring-kafkaReplyingKafkaTemplate.Kafka (or any other streaming platform) is typically used for pipelines, i.e. where we have forward flow of data. LinkedIn built Kafka to centrally collect log and metrics into their data warehouse.
Data comes to Kafka and from there it goes through component1, component2 and so on and finally (typically) lands in a database / datalake for long-term storage. Or you can can keep data in Kafka forever like the New York Times.
To get the information on-demand we need a data store (a database) where we can query and get it. In such a case we provide a REST interface which the user can invoke and get the data they want. Confluent, for example, also has a REST Proxy for Kafka to use HTTP to request topic information, however, it is a scan, not an indexed lookup like a database would offer.
Regarding your example,
Everyday vendor service calls the vendor API to get new items and these need to be moved into inventory service
Questions & Answers
Is your vendor API using REST?
Then you need to pull the data and push to Kafka. From there your inventory service (or any other service thereafter) will subscribe to that topic and execute their processing logic.
The advantage here is that you can add any other service which requires vendor data as a consumer to the vendor topic.
Moreover, the vendor data is always there for you even after your inventory service processed it.
If you use REST for this, you need to call the Vendor API for every component that requires vendor data which becomes trivial when used with Kafka
Do you want the inventory to be queried?
Store it in a database after processing through Kafka and provide a REST on top of this. This is needed because Kafka is typically a log, to make the data query-able you would need some database.
From Comments
Compare kafka vs reactive rest api
Read the rest at the sourceFrom Stack Overflow: asked by user1955934, answered by JavaTechnical (CC BY-SA 4.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
- Murex Senior Developer (ETP Risk)MUFG Bank Boston Corporate & Tech Hub, Bengaluru, on-siteToday
- Software Development Engineer - IIIF5, Hyderabad, on-siteToday
- Senior Software EngineerMirantis, Remote in IndiaToday
- SWPjMBosch Group, Bengaluru, on-siteYesterday
More like this: Software engineer jobs in India (1,457) and Remote Software engineer jobs in India (339)



