Minfy Technologies5 open jobs

Senior Software Engineer(Java)

BackendPosted 5 weeks agovia Himalayas, a remote job board

Work type
RemoteIn India
Experience
2+ years
Pay
Not listedUsually ₹6.2 LPABackend, median at 1–4 years, in India (Payscale)
Posted
5 weeks ago
Before you apply: make your resume fit this job

Skills it mentions

Nice to have

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Java, AWS, PostgreSQL and 1 more

About the job

This is a remote position.


Joining the Database Services team as a Senior Software Development Engineer gives you the opportunity to:
  • Work for a company that brings the customer to the forefront of cloud computing technology.
  • Have full ownership in defining migration strategies and architecture with access to innovative technology and latest frameworks.
Mentorship & Career GrowthOur team is dedicated to supporting new team members in an environment that celebrates knowledge sharing and mentorship. Our senior engineers mentor more junior engineers through one-on-one mentoring and collaborative code reviews.Projects and tasks are assigned in a way that leverages your strengths and helps you further develop your skillset.

Inclusive Team Culture We get to build a really cool service and the mains contributing factor to our success is the inclusive and welcoming culture that we embody every day.We welcome teammates who are enthusiastic, empathetic, curious, motivated, reliable, and able to collaborate with a diverse team of peers.As a Senior SDE on Our Team You Will:
  • Build new cloud based solutions to accelerate migrations to the cloud.
  • Solve difficult and complex migration problems and propose out of the box migration solutions.
  • Create technical strategies and deliver with limited guidance.
  • Focus on designing and coding architecture that yields significant performance, availability, and business value.
  • Understand your team's architecture in detail and make technical trade-offs between short-term team needs and long-term business needs
  • Influence your team's software architecture and likely influence related teams architecture too
  • Mentor junior software engineers or software developers in all aspects of their engineering duties.

Requirements

  • 2+ years experience working on large scale code bases for web services, applications or other software components.
  • 2+ years experience with Java programming stack.
Preferred Qualifications
  • Experience in building and architecting scalable systems running in Oracle ecosystem.
  • Proficiency in software engineering practices for the full software development life cycle, including coding standards, code reviews, source control management, build processes, testing, and operations.
  • Experience in communicating with peers, technical teams, and senior management to collect requirements & describe software product features, technical designs, and product strategy.
  • Experience in AWS or other cloud technologies.
  • Experience with distributed (multi-tiered) systems.
  • Knowledge of Oracle and either PostgreSQL or MySQL.
  • Strong sense of ownership, urgency, and drive

Benefits

We do not unfairly discriminate on any ground, including race, caste, religion, color, ancestry, marital status, gender, sexual orientation, age, nationality, ethnic origin, disability or any other category protected by applicable law.Competitive SalaryBetter GrowthWork Life Balance

Originally posted on Himalayas

Interested?Senior Software Engineer(Java) at Minfy Technologies

Apply on Himalayas (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Java, AWS, PostgreSQL and 1 more

Interview questions for this job

For the skills the ad mentions: Java, AWS, PostgreSQL and MySQL.

309 questions
  • What are the memory types in Java?Java
    • Stack. Stack memory is responsible for holding references to heap objects and for storing value types (also known in Java as primitive types), which hold the value itself rather than a reference to an object from the heap.
    • Heap. This part of memory stores the actual object in memory. Those are referenced by the variables from the stack. Links
    • https://dzone.com/articles/java-memory-management

    From Java interview (MIT)

  • What is the best way to pass AWS credentials to a Docker container?AWS

    The best way is to use IAM Role and do not deal with credentials at all. (see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html )

    Credentials could be retrieved from http://169.254.169.254..... Since this is a private ip address, it could be accessible only from EC2 instances.

    All modern AWS client libraries "know" how to fetch, refresh and use credentials from there. So in most cases you don't even need to know about it. Just run ec2 with correct IAM role and you good to go.

    As an option you can pass them at the runtime as environment variables ( i.e docker run -e AWS_ACCESS_KEY_ID=xyz -e AWS_SECRET_ACCESS_KEY=aaa myimage)

    You can access these environment variables by running printenv at the terminal.

    From Stack Overflow: asked by suraj chopade, answered by Vor (CC BY-SA 4.0)

  • How to manage DEFAULT PRIVILEGES for USERs on a DATABASE vs SCHEMA?PostgreSQL

    Postgres 14 adds the predefined roles pg_read_all_data and pg_write_all_data, which allow shortcuts for the purposes implied by the names.

    Where can I find a decent guide, tutorial or video series on this?

    You'll find everything in the manual. Links below.
    Granted, the matter is not trivial and sometimes confusing. Here is a recipe for the use case:

    Recipe

    I want to have it configured so only the hostdb_admin can create (and drop and alter) tables;
    the hostdb_mgr can read, insert, update and delete on all tables by default;
    and the hostdb_usr can only read all tables (and views).

    As superuser postgres:

    CREATE USER schma_admin WITH PASSWORD 'youwish';
    -- CREATE USER schma_admin WITH PASSWORD 'youwish' CREATEDB CREATEROLE; -- see below
    CREATE USER schma_mgr   WITH PASSWORD 'youwish2';
    CREATE USER schma_usr   WITH PASSWORD 'youwish3';
    

    If you want a more powerful admin that can also manage databases and roles, add the role attributes CREATEDB and CREATEROLE above.

    Grant each role to the next higher level, so all levels "inherit" at least the set of privileges from the next lower level (cascading):

    GRANT schma_usr TO schma_mgr;
    GRANT schma_mgr TO schma_admin;
    CREATE DATABASE hostdb;
    REVOKE ALL ON DATABASE hostdb FROM public;  -- see notes below!
    GRANT CONNECT ON DATABASE hostdb TO schma_usr;  -- others inherit
    \connect hostdb  -- psql syntax
    

    I am naming the schema schma (not hostdb which would be confusing). Pick any name. Optionally make schma_admin the owner of the schema:

    CREATE SCHEMA schma AUTHORIZATION schma_admin;
    SET search_path = schma;  -- see notes
    ALTER ROLE schma_admin IN DATABASE hostdb SET search_path = schma; -- not inherited
    ALTER ROLE schma_mgr   IN DATABASE hostdb SET search_path = schma;
    ALTER ROLE schma_usr   IN DATABASE hostdb SET search_path = schma;
    GRANT USAGE  ON SCHEMA schma TO schma_usr;
    GRANT CREATE ON SCHEMA schma TO schma_admin;
    ALTER DEFAULT PRIVILEGES FOR ROLE schma_admin
    GRANT SELECT                           ON TABLES TO schma_usr;  -- only read
    ALTER DEFAULT PRIVILEGES FOR ROLE schma_admin
    GRANT INSERT, UPDATE, DELETE, TRUNCATE ON TABLES TO schma_mgr;  -- + write, TRUNCATE optional
    ALTER DEFAULT PRIVILEGES FOR ROLE schma_admin
    GRANT USAGE, SELECT, UPDATE ON SEQUENCES TO schma_mgr;  -- SELECT, UPDATE are optional 
    

    For and drop and alter see notes below.

    Postgres 14 adds the predefined, non-login roles pg_read_all_data and pg_write_all_data to give read-only / write-only access to all objects in all schemas. That goes beyond what's being asked here, but may be useful. See:

    As things get more advanced I'll also have questions to apply similar restrictions on TRIGGERS, stored procedures, VIEWS and perhaps other objects.

    Views are special.

    The manual:

    ... (but note that ALL TABLES is considered to include views and foreign tables).

    And for Updatable Views:

    Read the rest at the sourceFrom Database Administrators Stack Exchange: asked by Jim Dennis, answered by Erwin Brandstetter (CC BY-SA 4.0)

  • What is the performance impact of using CHAR vs VARCHAR on a fixed-size field?MySQL

    A similar question was asked before

    Performance implications of MySQL VARCHAR sizes

    Here is the excerpt of my answer

    You must realize the tradeoffs of using CHAR vs VARCHAR

    With CHAR fields, what you allocate is exactly what you get. For example, CHAR(15) allocates and stores 15 bytes, no matter how characters you place in the field. String manipulation is simple and straightforward since the size of the data field is totally predictable.

    With VARCHAR fields, you get a completely different story. For example VARCHAR(15) actually allocates dynamically up to 16 bytes, up to 15 for data and, at least, 1 additional byte to store the the length of the data. If you have the string 'hello' to store that will take 6 bytes, not 5. String manipulation must always perform some form of length checking in all cases.

    The tradeoff is more evident when you do two things: 1. Storing millions or billions of rows 2. Indexing columns that are either CHAR or VARCHAR

    TRADEOFF #1 Obviously, VARCHAR holds the advantage since variable-length data would produce smaller rows and, thus, smaller physical files.

    TRADEOFF #2 Since CHAR fields require less string manipulation because of fixed field widths, index lookups against CHAR field are on average 20% faster than that of VARCHAR fields. This is not any conjecture on my part. The book MySQL Database Design and Tuning performed something marvelous on a MyISAM table to prove this. The example in the book did something like the following:

    ALTER TABLE tblname ROW_FORMAT=FIXED;
    

    This directive forces all VARCHARs to behave as CHARs. I did this at my previous job back in 2007 and took a 300GB table and sped up index lookups by 20%, without changing anything else. It worked as published. However, it did produce a table almost double in size, but that simply goes back to tradeoff #1.

    You could analyze the data being stored to see what MySQL recommends for column definition. Just run the following against any table:

    SELECT * FROM tblname PROCEDURE ANALYSE();
    

    This will traverse the entire table and recommend column definitions for every column based on the data it contains, the minimum field values, maximum field values, and so forth. Sometimes, you just have to use common sense with planning CHAR vs VARCHAR. Here is a good example:

    If you are storing IP addresses, the mask for such a column is at most 15 characters (xxx.xxx.xxx.xxx). I would jump right at CHAR(15) in a heartbeat because the lengths of IP addresses will not vary all that much and the added complexity of string manipulation controlled by an additional byte. You could still do a PROCEDURE ANALYSE() against such a column. It may even recommend VARCHAR. My money would still be on CHAR over VARCHAR in this instance.

    CHAR vs VARCHAR issues can be resolved only through proper planning. With great power comes great responsibility (cliche but true).

    UPDATE

    When it comes to MD5, the computation of strlen internally should be eliminated when switching the entire row format. There would be no need to change the field definition.

    If the MD5 key is the only VARCHAR present, I would go for it and convert the table row format to fixed. If there is a signifcant number of other VARCHAR fields present, they would benefit as well. In exchange, the table would expand to about twice its size. But queries should accelerate about 20% more without additional tuning.

    From Database Administrators Stack Exchange: asked by Jason Baker, answered by RolandoMySQLDBA (CC BY-SA 3.0)

  • What are the methods of Object class?Java

    Object class methods

    Comparable Comparator
    public final Class getClass() Returns the Class class object of this object. The Class class can further be used to get the metadata of this class.
    public int hashCode() Returns the hashcode number for this object.
    public boolean equals(Object obj) Compares the given object to this object.
    protected Object clone() Creates and returns the exact copy (clone) of this object.
    public String toString() Returns the string representation of this object.
    public final void notify() Wakes up single thread, waiting on this object's monitor.
    public final void notifyAll() Wakes up all the threads, waiting on this object's monitor.
    public final void wait() Causes the current thread to wait, until another thread notifies (invokes notify() or notifyAll() method).
    public final void wait(long timeout) Causes the current thread to wait for the specified milliseconds, until another thread notifies (invokes notify() or notifyAll() method).
    public final void wait(long timeout,int nanos) Causes the current thread to wait for the specified milliseconds and nanoseconds, until another thread notifies (invokes notify() or notifyAll() method).

    getClass()

    You cannot override getClass. The getClass() method returns a Class object, which has methods you can use to get information about the class, such as its name (getSimpleName()), its superclass (getSuperclass()), and the interfaces it implements (getInterfaces()). The Class class, in the java.lang package, has a large number of methods (more than 50). For example, you can test to see if the class is an annotation (isAnnotation()), an interface (isInterface()), or an enumeration (isEnum()). You can see what the object's fields are (getFields()) or what its methods are (getMethods()), and so on.

    hashCode()

    The value returned by hashCode() is the object's hash code, which is the object's memory address in hexadecimal.

    By definition, if two objects are equal, their hash code must also be equal. If you override the equals() method, you change the way two objects are equated and Object's implementation of hashCode() is no longer valid. Therefore, if you override the equals() method, you must also override the hashCode() method as well.

    equals(Object obj)

    The equals() method compares two objects for equality and returns true if they are equal. The equals() method provided in the Object class uses the identity operator (==) to determine whether two objects are equal. For primitive data types, this gives the correct result. For objects, however, it does not. The equals() method provided by Object tests whether the object references are equal—that is, if the objects compared are the exact same object. You should always override the equals() method if the identity operator is not appropriate for your class.

    clone()

    Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)

  • Why do you think you're a good fit for 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

More like this: Backend developer jobs in India (937) and Remote Backend developer jobs in India (324)