Sr. SW Engineer (Python, Product Reliability / DB Reliability Eng - 4-6 years' exp)
BackendPosted 4 weeks agofrom Visa's own hiring page
- Work type
- HybridBengaluru
- Experience
- 4–6 years
- Pay
- Not listedUsually ₹6.2–15 LPABackend, median at 1–9 years, in India (Payscale)
- Posted
- 4 weeks ago
From the ad
On-call rotation
* Database administration for off the shelf and internally developed applications, ensure continuous 24x7 operation and availability in support of mission critical business applications and participating in on-call ro…
Skills it mentions
Add your skills to see which ones you have.
About the job
About Us
Visa is a world leader in payments technology, facilitating transactions between consumers, merchants, financial institutions and government entities across more than 200 countries and territories, dedicated to uplifting everyone, everywhere by being the best way to pay and be paid.
At Visa, you'll have the opportunity to create impact at scale — tackling meaningful challenges, growing your skills and seeing your contributions impact lives around the world.
Join Visa and do work that matters – to you, to your community, and to the world. Progress starts with you.
Job Description
This position preferred location is Bengaluru, India.
As a reliability engineer in this team, the individual will be involved in the plan, build and run activities related to database technology and infrastructure. The role will contribute to the design/architect, solution engineering, and support; will be responsible for delivering database projects, maintaining the running systems, able to perform problem analysis and troubleshooting. The individual should be well versed in database administration and engineering practices and principles. The individual will share the responsibility of overall database build, deployment and support. He or she will provide technical influence and subject matter expertise for the database team, responsible for solving complex problems and taking a broad perspective to identify innovative solutions. The role serves as a technical/functional specialist and works independently with guidance only in the most complex situations.
RESPONSIBILITIES -
* Primarily the deployment and support of NoSQL database technology, specifically MongoDB, Cassandra and/or Redis
* Support Database Platform Engineering in the development and deployment of NoSQL technologies like Redis, MongoDB and Cassandra in high SLA environments. Support of RDBMS technology will be a plus. This includes, but is not limited to implementation of the following:
* Manage, support and maintain database technology and infrastructure, adhering to the architectural guidelines and policies.
* Database administration for off the shelf and internally developed applications, ensure continuous 24x7 operation and availability in support of mission critical business applications and participating in on-call rotation.
* Install, configure, monitor, upgrade and maintain Redis, MongoDB and Cassandra databases in production and non-production environments.
* Hands-on experience with MongoDB sharding.
* Participate in Database Maintenance and DR activities.
* Write/maintain OS level scripts for DB automation and application maintenance.
* Provide technical expertise and hands-on support in consolidation and migration of databases to new hardware and platforms.
* Physical implementation of databases, storage structures, high-availability solutions, replication, and disaster recovery solutions.
* Proactive and reactive performance analysis, monitoring, troubleshooting and resolution of escalated Level 2 and Level3 issues.
* Regular database capacity planning related to database growth and system utilization, trend analysis, predictive future database resource requirements, and the structured organized reporting of the same.
* Work closely with other Infrastructure engineering, product development, business operations, and technical operations to ensure delivery of database services within the SLA’s and performance targets.
* Adapt business requirements, model data, and develop database specifications, table and element attributes.
* Participate in the evaluation, selection and implementation of DBA tools to improve the effectiveness of tasks such as performance monitoring and tuning, recovery, and database change management processing.
* Ability to work well as a team and as an individual with minimal supervision.
This is a hybrid position. Expectation of days in the office will be confirmed by your Hiring Manager.
Qualifications
Qualifications
* Bachelors/Degree in Computer Science or other technology field is necessary.
* 4-6 years of DBA experience, with MongoDB is a must.
Additional information
* Sound knowledge of all UNIX and MongoDB utilities. Troubleshoot database production problems and database connectivity issues.
* Should have strong UNIX platform skills and understanding of network, storage, tiered application environments and security.
* Proficiency in at least one programming language including, but not limited to, Python, Java, JavaScript, HTML, and C++
* Experience with one or more scripting languages: Shell scripting, Perl and Python.
* Proficiency in writing functions and packages for administration and application support
* Strong knowledge of operating systems, scripting languages, data modeling and business intelligence tools.
* Good interpersonal skills along with effective communication (both written and verbal) skills.
* Demonstrated ability to solve complex systems and database environment issues.
* Demonstrate ability to work in a complex organization to determine business and customer needs, providing the best solution to meet those needs.
* Work experience in a Financial Institute will be preferred.
Visa is an EEO Employer
Qualified applicants will receive consideration for employment without regard to race, color, religion, sex, national origin, sexual orientation, gender identity, disability or protected veteran status. Visa will also consider for employment qualified applicants with criminal histories in a manner consistent with EEOC guidelines and applicable local law.
Interested?Sr. SW Engineer (Python, Product Reliability / DB Reliability Eng - 4-6 years' exp) at Visa
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Python, MongoDB, Redis and 6 more
Interview questions for this job
For the skills the ad mentions: Python, MongoDB, Redis, Linux, Java, JavaScript, HTML and CSS, C++ and Shell scripting.
What are metaclasses in Python?Python
Classes are objects
Before delving into metaclasses, a solid grasp of Python classes is beneficial. Python holds a particularly distinctive concept of classes, a notion it adopts from the Smalltalk language.
In most languages, classes are descriptions of how to create an object. That is somewhat true in Python too:
>>> class ObjectCreator(object): ... pass >>> my_object = ObjectCreator() >>> print(my_object) <__main__.ObjectCreator object at 0x8974f2c>But classes are more than that in Python. Classes are objects too.
Yes, objects.
When a Python script runs, every line of code is executed from top to bottom. When the Python interpreter encounters the
classkeyword, Python creates an object out of the "description" of the class that follows. Thus, the following instruction>>> class ObjectCreator(object): ... pass...creates an object with the name
ObjectCreator!This object (the class) is itself capable of creating objects (called instances).
But still, it's an object. Therefore, like all objects:
you can assign it to a variable1
JustAnotherVariable = ObjectCreatoryou can attach attributes to it
ObjectCreator.class_attribute = 'foo'you can pass it as a function parameter
print(ObjectCreator)
1 Note that merely assigning it to another variable doesn't change the class's
__name__, i.e.,>>> print(JustAnotherVariable) <class '__main__.ObjectCreator'> >>> print(JustAnotherVariable()) <__main__.ObjectCreator object at 0x8997b4c>Creating classes dynamically
Since classes are objects, you can create them on the fly, like any object.
First, you can create a class in a function using
class:>>> def choose_class(name): ... if name == 'foo': ... class Foo(object): ... pass ... return Foo # return the class, not an instance ... else: ... class Bar(object): ... pass ... return Bar >>> MyClass = choose_class('foo') >>> print(MyClass) # the function returns a class, not an instance <class '__main__.Foo'> >>> print(MyClass()) # you can create an object from this class <__main__.Foo object at 0x89c6d4c>But it's not so dynamic, since you still have to write the whole class yourself.
Since classes are objects, they must be generated by something.
When you use the
classkeyword, Python creates this object automatically. But as with most things in Python, it gives you a way to do it manually.Remember the function
type? The good old function that lets you know what type an object is:>>> print(type(1)) <class 'int'> >>> print(type("1")) <class 'str'> >>> print(type(ObjectCreator)) <class 'type'> >>> print(type(ObjectCreator())) <class '__main__.ObjectCreator'>Well,
typealso has a completely different ability: it can create classes on the fly.typecan take the description of a class as parameters, and return a class.(I know, it's silly that the same function can have two completely different uses according to the parameters you pass to it. It's an issue due to backward compatibility in Python)
typeworks this way:type(name, bases, attrs)Where:
name: name of the classbases: tuple of the parent class (for inheritance, can be empty)attrs: dictionary containing attributes names and values
e.g.:
>>> class MyShinyClass(object): ... passcan be created manually this way:
Read the rest at the sourceFrom Stack Overflow: asked by Bite code, answered by Bite code (CC BY-SA 4.0)
Find MongoDB records where array field is not emptyMongoDB
If you also have documents that don't have the key, you can use:
ME.find({ pictures: { $exists: true, $not: {$size: 0} } })MongoDB doesn't use indexes if
$sizeis involved, so here is a better solution:ME.find({ pictures: { $exists: true, $ne: [] } })If your property can have invalid values (like
nullbooleanor others) , then you an add an additional check using$typesas proposed in this answer:With mongo >= 3.2:
ME.find({ pictures: { $exists: true, $type: 'array', $ne: [] } })With mongo < 3.2:
ME.find({ pictures: { $exists: true, $type: 4, $ne: [] } })Since the MongoDB 2.6 release, you can compare with the operator
$gt, but this could lead to unexpected results (you can find a detailed explanation in this answer):ME.find({ pictures: { $gt: [] } })From Stack Overflow: asked by Jelle De Loecker, answered by Chris' (CC BY-SA 4.0)
Redis strings vs Redis hashes to represent JSON: efficiency?Redis
This article can provide a lot of insight here: Memory Optimization
There are many ways to store an array of Objects in Redis (spoiler: I like option 1 for most use cases):
Store the entire object as JSON-encoded string in a single key and keep track of all Objects using a set (or list, if more appropriate). For example:
INCR id:users SET user:{id} '{"name":"Fred","age":25}' SADD users {id}Generally speaking, this is probably the best method in most cases. If there are a lot of fields in the Object, your Objects are not nested with other Objects, and you tend to only access a small subset of fields at a time, it might be better to go with option 2.
Advantages: considered a "good practice." Each Object is a full-blown Redis key. JSON parsing is fast, especially when you need to access many fields for this Object at once. Disadvantages: slower when you only need to access a single field.
Store each Object's properties in a Redis hash.
INCR id:users HMSET user:{id} name "Fred" age 25 SADD users {id}Advantages: considered a "good practice." Each Object is a full-blown Redis key. No need to parse JSON strings. Disadvantages: possibly slower when you need to access all/most of the fields in an Object. Also, nested Objects (Objects within Objects) cannot be easily stored.
Store each Object as a JSON string in a Redis hash.
INCR id:users HMSET users {id} '{"name":"Fred","age":25}'This allows you to consolidate a bit and only use two keys instead of lots of keys. The obvious disadvantage is that you can't set the TTL (and other stuff) on each user Object, since it is merely a field in the Redis hash and not a full-blown Redis key.
Advantages: JSON parsing is fast, especially when you need to access many fields for this Object at once. Less "polluting" of the main key namespace. Disadvantages: About same memory usage as #1 when you have a lot of Objects. Slower than #2 when you only need to access a single field. Probably not considered a "good practice."
Store each property of each Object in a dedicated key.
INCR id:users SET user:{id}:name "Fred" SET user:{id}:age 25 SADD users {id}According to the article above, this option is almost never preferred (unless the property of the Object needs to have specific TTL or something).
Advantages: Object properties are full-blown Redis keys, which might not be overkill for your app. Disadvantages: slow, uses more memory, and not considered "best practice." Lots of polluting of the main key namespace.
Overall Summary
Option 4 is generally not preferred. Options 1 and 2 are very similar, and they are both pretty common. I prefer option 1 (generally speaking) because it allows you to store more complicated Objects (with multiple layers of nesting, etc.) Option 3 is used when you really care about not polluting the main key namespace (i.e. you don't want there to be a lot of keys in your database and you don't care about things like TTL, key sharding, or whatever).
From Stack Overflow: asked by Henley Wing Chiu, answered by BMiner (CC BY-SA 4.0)
Why was '~' chosen to represent the home directory?Linux
On Unix-like operating systems (including BSD, GNU/Linux and Mac OS X), tilde often indicates the current user's home directory: for example, if the current user's home directory is
/home/bloggsj, thencd,cd ~,cd /home/bloggsjorcd $HOMEare equivalent. This practice derives from the Lear-Siegler ADM-3A terminal in common use during the 1970s, which happened to have the tilde symbol and the word "Home" (for moving the cursor to the upper left) on the same key.You can find photos of the Lear-Siegler ADM-3A keyboard on this site.
This terminal is also the source of the movement commands used in the
vieditor: h, j, k, l for left, down, up, right.From Unix & Linux Stack Exchange: asked by Lelouch Lamperouge, answered by pbm (CC BY-SA 4.0)
Explain: Hashtable vs ConcurrentHashMapJava
Hashtable vs ConcurrentHashMap
Hashtable. This class implements a hash table, which maps keys to values. Any non-null object can be used as a key or as a value. To successfully store and retrieve objects from a hashtable, the objects used as keys must implement the
hashCodemethod and theequalsmethod. Unlike the new collection implementations,Hashtableis synchronized. If a thread-safe implementation is not needed, it is recommended to useHashMapin place ofHashtable.ConcurrentHashMap. A hash table supporting full concurrency of retrievals and high expected concurrency for updates. This class obeys the same functional specification as
Hashtable, and includes versions of methods corresponding to each method ofHashtable. However, even though all operations are thread-safe, retrieval operations do not entail locking, and there is not any support for locking the entire table in a way that prevents all access. This class is fully interoperable withHashtablein programs that rely on its thread safety but not on its synchronization details.Properties HashtableConcurrentHashMapIs nullkey allowedNo No Is nullvalue allowedNo Yes Is Thread Safe Yes Yes, Thread safety is ensured by having separate locks for separate buckets, resulting in better performance. Performance is further improved by providing read access concurrently without any blocking. Performance Slow due to synchronization overhead. Faster than Hashtable.ConcurrentHashMapis a better choice when there are more reads than writes.Iterator Hashtableuses enumerator to iterate the values ofHashtableobject. Enumerations returned by theHashtablekeys and elements methods are not fail-fast.Fail-safe iterator: Iteratorprovided by theConcurrentHashMapis fail-safe, which means it will not throwConcurrentModificationException.When you read from a
ConcurrentHashMapusingget(), there are no locks, contrary to theHashtablefor which all operations are simply synchronized.Hashtableuses single lock for whole data.ConcurrentHashMapuses multiple locks on segment level (16 by default) instead of object level i.e. wholeMap.Hashtableis belongs to the Collection framework;ConcurrentHashMapbelongs to the Executor framework. If a thread-safe highly-concurrent implementation is desired, then it is recommended to useConcurrentHashMapin place ofHashtable.Links
https://www.geeksforgeeks.org/concurrenthashmap-in-java/
https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentHashMap.html
https://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.htmlFrom Android Interview Questions (Apache 2.0)
Why should we hire you?Behavioural
The strengths employers look for will depend on the job role. They may ask you questions like:
- what are your main strengths?
- why should we hire you?
You can use specific examples to highlight your strengths, such as:
- communication - to show you get on with others
- problem solving - to show that you can find solutions
- enthusiasm - to show that you have a positive attitude to work
- flexibility - to show that you can adapt to different ways of working
Plan your answers around 2 or 3 examples that are relevant to the job. You can back these up with qualifications or training you've done.
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)


