Code Monkey home page Code Monkey logo

cs-study's Issues

Elasticsearch

데이터λ₯Ό 쑰회 κ°€λŠ₯ μ‹œμ μ΄ λ©”λͺ¨λ¦¬μ— μ˜¬λΌκ°€κ³  λ‚˜μ„œμΈμ§€, disk io μœ„μ— μ˜¬λΌκ°€κ³  λ‚˜μ„œμΈμ§€?

db clustering 질문

Database

Clustering

@guswns3371

db clusteringμ—μ„œ μ˜ˆμ‹œ 사진(https://github.com/CS-studi/CS-study/blob/master/CS/Database/img/ClusteringReplicationShardingPartitioning/Untitled%201.png)은 ν•˜λ‚˜μ˜ λ°μ΄ν„°λ² μ΄μŠ€λ₯Ό μ—¬λŸ¬λŒ€ μ„œλ²„κ°€ κ³΅μœ ν•˜λŠ” κ²ƒμ²˜λŸΌ λ‚˜μ™€μžˆλŠ”λ° λ°μ΄ν„°μ˜ 쀑볡 μ•„λž˜ λ‚΄μš©οΏ½ μ„€λͺ…뢀뢄에 "μ—¬λŸ¬λŒ€μ˜ μ„œλ²„μ— λ°μ΄ν„°λ² μ΄μŠ€λ₯Ό 쀑볡저μž₯ν•œλ‹€" => 이뢀뢄은 replication이 적용된 clustering이 μ΄λ‚œκ°€ ν•΄μ„œμš”.

λ‹΅λ³€μ£Όμ‹œλ©΄ κ°μ‚¬ν•˜κ² μŠ΅λ‹ˆλ‹€.

[λ‹΅λ³€ λͺ»ν•œ μ§ˆλ¬Έλ“€]μ΄ν˜„λ™

λͺ¨μ˜ λ©΄μ ‘ 질문 쀑 λ‹΅λ³€ν•˜μ§€ λͺ»ν•œ λ‚΄μš© ν˜Ήμ€ μ• λ§€ν•˜κ²Œ 닡변을 ν–ˆλ˜ λ‚΄μš©μ„ λ‹€μ‹œ μ •λ³΅ν•œλ‹€.πŸ‘Š

ν˜•μ‹

[주제]
...
[질문]
...

Heap: νž™μ˜ κ΅¬ν˜„

Array 외에 λ‹€λ₯Έ 자료 κ΅¬μ‘°λ‘œλŠ” κ΅¬ν˜„μ„ ν•  수 μžˆλ‚˜μš”?
그러면 μ™œ Array둜 κ΅¬ν˜„ν•˜λŠ”κ±΄κ°€μš”?
@guswns3371

Database/Index

CS/Database/Index

@annie1004619
μΈλ±μŠ€λŠ” DBMS의 μ €μž₯ μ„±λŠ₯을 ν¬μƒν•˜κ³  검색 μ„±λŠ₯을 높이기 μœ„ν•΄ λ§Œλ“€μ–΄μ§„ 자료 ꡬ쑰이닀.

인덱슀의 λͺ©μ  RDBMS의 검색 속도λ₯Ό λ†’μ΄λŠ”λ° μžˆλ‹€.

DELETE, INSERT, UPDATE μΏΌλ¦¬μ—λŠ” ν•΄λ‹Ή 사항이 μ—†μœΌλ©° index μ‚¬μš© μ‹œ 였히렀 μ’€ λŠλ €μ§„λ‹€.


이 λΆ€λΆ„μ—μ„œ delete, insert, update μΏΌλ¦¬μ—λŠ” indexλ₯Ό μ‚¬μš©ν•˜λ©΄ 였히렀 λŠλ €μ§„λ‹€λŠ”κ²Œ 잘 이해가 가지 μ•ŠμŠ΅λ‹ˆλ‹€.

index μ‚¬μš© μ‹œ 데이터λ₯Ό delete, insert, updateν•˜λ©΄ λŠλ €μ§€λŠ”κ±°κ³ (데이터λ₯Ό 계속 μ •λ ¬ν•΄μ€˜μ•Ό ν•˜λ‹ˆκΉŒ + λ§Œμ•½μ— 인덱슀 된 데이터λ₯Ό μ‚­μ œν•  λ•ŒλŠ” μΈλ±μŠ€μ—λŠ” ν”Œλž˜κ·Έ ν‘œμ‹œ 같은 걸둜 μ‚¬μš©ν•˜μ§€ μ•ŠλŠ” μΈλ±μŠ€μ— 별도 ν‘œμ‹œλ₯Ό ν•˜κΈ° λ•Œλ¬Έμ— λ―Έμ‚¬μš© μΈλ±μŠ€κ°€ λˆ„μ λ  μ‹œ, μ„±λŠ₯ μƒμ˜ λ¬Έμ œκ°€ μžˆμ„ 수 μžˆλ‹€ 정도??)

ν•˜μ§€λ§Œ index μžμ²΄κ°€ 검색 μ„±λŠ₯을 λ†’μ—¬μ£ΌκΈ° μœ„ν•΄ μ‚¬μš©λœλ‹€κ³  ν•˜λ‹ˆ λ°μ΄ν„°λ² μ΄μŠ€μ—μ„œ 데이터λ₯Ό μ‚­μ œ(delete)λ₯Ό ν•˜λŠ” 것은 λ°μ΄ν„°μ˜ μœ„μΉ˜λ₯Ό 쑰회(검색)ν•˜μ—¬ μ‚­μ œν•˜κΈ° λ•Œλ¬Έμ— delete의 κ΄€μ μ—μ„œλŠ” index μ‚¬μš© μ‹œ μ„±λŠ₯이 λΉ λ₯Έ 편이 μ•„λ‹Œκ°€μš”? ν—·κ°ˆλ¦¬λ„€μš”.

REST: point-to-point 톡신 λͺ¨λΈμ„ κ°€μ •ν•˜λ―€λ‘œ λ‘˜ μ΄μƒμœΌλ‘œ μƒν˜Έμž‘μš©ν•˜λŠ” λΆ„μ‚°ν™˜κ²½μ—λŠ” μœ μš©ν•˜μ§€ μ•Šλ‹€.

REST(Representational State Transfer)λŠ” 효율적, μ•ˆμ •μ μ΄λ©° ν™•μž₯κ°€λŠ₯ν•œ λΆ„μ‚°μ‹œμŠ€ν…œμ„ κ°€μ Έμ˜¬ 수 μžˆλŠ” μ†Œν”„νŠΈμ›¨μ–΄ μ•„ν‚€ν…μ²˜ λ””μžμΈ μ œμ•½μ˜ λͺ¨μŒμ„ λ§ν•˜λŠ”λ° μ—¬λŸ¬ λΈ”λ‘œκ·Έμ—μ„œ REST의 λ‹¨μ μœΌλ‘œ 'point-to-point 톡신 λͺ¨λΈμ„ κ°€μ •ν•˜λ―€λ‘œ λ‘˜ μ΄μƒμœΌλ‘œ μƒν˜Έμž‘μš©ν•˜λŠ” λΆ„μ‚°ν™˜κ²½μ—λŠ” μœ μš©ν•˜μ§€ μ•Šλ‹€.' λΌλŠ” λ¬Έμž₯이 많이 μ ν˜€μžˆλŠ”λ° μ–΄λ–€ λΆ„μ‚° ν™˜κ²½μ„ 이야기 ν•˜λŠ”μ§€ 이해가 μ•ˆλ©λ‹ˆλ‹€.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.