Sie sind auf Seite 1von 3

Why Microservices ?

1. Loosely coupled and services can be light weight


2. The benefit of decomposing an application into different smaller services is
that it improves modularity and makes the application easier to understand, develop
and test
3. Small teams can develop, deploy and SCALE their respective services
independently.
4. Individual service to emerge through continuous refactoring
5. Microservices-based architectures enable continuous delivery and deployment.

@EnableEurekaServer
@EnableDiscoveryClient

https://dzone.com/articles/microservices-basics

Smartphone class ?

http://stacktips.com/tutorials/design-patterns/factory-method-design-pattern-java

Database scalability ?

1. Horizontal Scaling or Scale-out


2. Vertical Scaling or Scale-up
3. Scale cube

TODO --------------------

3. SOLID Design principles ?

4. Types of Autowiring and how do you achieve them with example ?

5. Why docker ?

6. Database Normalisation ?

http://questpond.tumblr.com/post/61571725454/what-is-normalization-and-explain-1nf-
2nf-and-3nf

https://www.youtube.com/watch?v=UrYLYV7WSHM

7. Java Messaging System and about Rabbit MQ ?

8. Object level locking vs Class level Locking ?


Object level locking means you want to synchronize non static method or block so
that it can be accessed by only one thread at a time for that INSTANCE.

Class level locking means you want to synchronize static method or block so that it
can be accessed by only one thread for WHOLE CLASS.

9. Deadlock and its prevention ?

http://javaconceptoftheday.com/deadlock-in-java/

https://javarevisited.blogspot.com/2010/10/what-is-deadlock-in-java-how-to-fix-
it.html

10. Producer and consumer ?

11. Wait, notify and notifyAll ?

12. Doubleton ?

http://tutorial4java.blogspot.com/2013/03/doubleton-class-in-java.html

https://www.buggybread.com/2014/05/design-pattern-what-is-doubleton.html

13. Inner and nested class-in-java ?

http://javaconceptoftheday.com/nested-classes-in-java/

14. Static and Static method in java ?

These static members are stored inside the Class Memory.

http://javaconceptoftheday.com/static-members-java/

15. How hashmap works in Java ?

https://www.youtube.com/watch?v=c3RVW3KGIIE

16. Java8 ?

http://winterbe.com/posts/2014/03/16/java-8-tutorial/

17. Angular5 and SpringBoot ?

Do check and complete application

https://stormpath.com/blog/tutorial-crud-spring-boot-20-minutes
https://developer.okta.com/blog/2017/12/04/basic-crud-angular-and-spring-boot

https://stormpath.com/blog/tutorial-get-started-angular-spring-boot-stormpath
https://developer.okta.com/blog/2017/05/09/progressive-web-applications-with-
angular-and-spring-boot

18. Jpa Repository custom query ?

19. CRUD Spring Boot ?


https://stormpath.com/blog/tutorial-crud-spring-boot-20-minutes

20. Remove duplicates ?


https://www.programcreek.com/2013/01/leetcode-remove-duplicates-from-sorted-array-
java/

21. Indexing in DB ?
https://www.sqlshack.com/what-is-the-difference-between-clustered-and-non-
clustered-indexes-in-sql-server/

22. Delete duplicate rows query ?


with CTE_Duplicates as
(Select empId, name, row_number() over (partition by empId, name order by empId,
name) rownumber from Emp)

Delete from CTE_Duplicates where rownumber !=1

23. nth highest salary ?

24. Inner join query ?

25. Non clustered index ?


With a clustered index the rows are stored physically on the disk in the same order
as the index. Therefore, there can be only one clustered index.

With a non clustered index there is a second list that has pointers to the physical
rows. You can have many non clustered indexes, although each new index will
increase the time it takes to write new records.

It is generally faster to read from a clustered index if you want to get back all
the columns. You do not have to go first to the index and then to the table.

Writing to a table with a clustered index can be slower, if there is a need to


rearrange the data.

Das könnte Ihnen auch gefallen